home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
snowball.swf
/
scripts
/
DefineSprite_192
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
451b
|
26 lines
this.onEnterFrame = function()
{
if(_root.startmoving == 1)
{
this._y -= _root.snowball.yspeed;
if(_Y < -10 - _height)
{
_Y = 500;
_X = random(600);
this.gotoAndStop(1);
}
}
if(this.hitTest(_root.snowball.detector))
{
if(_root.weight < 350)
{
_root.snowball.play();
}
else
{
this.play();
}
}
};
stop();